package com.ruoyi.common.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.common.domain.AtbDistrict;
import com.ruoyi.common.service.AtbDistrictService;
import com.ruoyi.common.mapper.AtbDistrictMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
* @author Administrator
* @description 针对表【atb_district(省市区)】的数据库操作Service实现
* @createDate 2024-09-16 13:06:33
*/
@Service
public class AtbDistrictServiceImpl extends ServiceImpl<AtbDistrictMapper, AtbDistrict>
    implements AtbDistrictService{

    @Resource
    AtbDistrictMapper districtMapper;

    @Override
    public List<AtbDistrict> getCity(Integer id) {

        List<AtbDistrict> atbDistricts = districtMapper.getCity(id);
        return atbDistricts;
    }
}




